Skip to content

Conversation

asifebrahim
Copy link

@asifebrahim asifebrahim commented Aug 19, 2025

Made the necessary changes with a test file

Closes 35343

Signed-off-by: Asif Ebrahim [email protected]

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Aug 19, 2025
sdeleuze and others added 3 commits August 19, 2025 22:37
This commit also includes related refinements of
JdbcTemplate#getSingleColumnRowMapper and
ObjectUtils#addObjectToArray.

Closes spring-projectsgh-35340
@asifebrahim asifebrahim reopened this Aug 19, 2025
@bclozel bclozel added status: invalid An issue that we don't feel is valid and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Aug 19, 2025
@sdeleuze
Copy link
Contributor

Hey @asifebrahim, I am not sure to understand why you closed this PR which seems to fix #35343 before we had a chance to review it. Could you explain?

@asifebrahim
Copy link
Author

i thought someone else was assigned to it so that's why..I'll reopen

@asifebrahim asifebrahim reopened this Aug 20, 2025
return super.supports(returnType, converterType) && returnType.hasMethodAnnotation(JsonView.class);
return super.supports(returnType, converterType) &&
(returnType.hasMethodAnnotation(JsonView.class) ||
returnType.getDeclaringClass().isAnnotationPresent(JsonView.class));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should @JsonView on super type be considered?

@sdeleuze sdeleuze added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement and removed status: invalid An issue that we don't feel is valid labels Aug 21, 2025
@sdeleuze sdeleuze self-assigned this Aug 21, 2025
@sdeleuze sdeleuze added this to the 7.0.0-M9 milestone Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants